package com.auto.sns.core.dao;

import java.util.List;
import java.util.Map;

import com.system.common.Page;
import com.auto.sns.core.domain.SnsCoreActivity;
/**
 * : t_auto_sns_core_activity
 * 
 * 
 * @author Gen
 */
public interface ISnsCoreActivityDAO{
	/**
	 * @param bean
	 * @return
	 */
	SnsCoreActivity insertSnsCoreActivity(SnsCoreActivity bean);
	/**
	 * @param scacGuid
	 * @return
	 */
	boolean deleteSnsCoreActivity(String scacGuid);	
	/**
	 * @param bean
	 * @return
	 */
	SnsCoreActivity updateSnsCoreActivity(SnsCoreActivity bean);	
	/**
	 * @param scacGuid
	 * @return
	 */
	SnsCoreActivity loadSnsCoreActivity(String scacGuid);
	/**
	 * @param param
	 * @param page
	 * @return
	 */
	List<SnsCoreActivity> queryList(Map<String,Object> param,Page page);
	
	boolean updateReplyNum(String scacGuid);
	
	boolean updateRecommendNum(String scacGuid);
	
	boolean updateFavoriteNum(String scacGuid);

}
